import 'package:flutter/material.dart';

/**
 * 不带参数跳转
 */

class YNoFluroParameter extends StatelessWidget {
  String param1;
  String param2;

  YNoFluroParameter(String param1, String param2){
    this.param1 = param1;
    this.param2 = param2;
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("接收参数"),
      ),
      body: Center(
        child: Column(
          children: <Widget>[
            Text("拿到的url===== $param1"),
            Text("拿到的title===== $param2")
          ],
        ),
      ),
    );
  }
}
